//
//  ShaiXuanTableViewCell.h
//  YaoHeAPP
//
//  Created by 杨亚森 on 16/7/4.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    radio = 0,
    multipleChoice = 1,
} SelectionMode;

typedef void(^RadioSelectButtonClickBlock)(NSString *key, NSString *value);
typedef void(^MultipleChoiceSelectButtonClickBlock)(NSString *key, NSString *value);
typedef void(^ZhanKaiReloadIndexPathCellBlock)();
typedef void(^ShouQiReloadIndexPathCellBlock)();

#define kShaiXuanTableViewCellHeight 71

@interface ShaiXuanTableViewCell : UITableViewCell

@property (nonatomic, strong) NSArray *huaNanContainCityArray;      // 华南地区包含的城市
@property (nonatomic, strong) NSDictionary *modelDictionary;                // 模型字典
@property (nonatomic, assign) SelectionMode selectionMode;                  // 单选 | 多选
@property (nonatomic, copy) RadioSelectButtonClickBlock radioSelectButtonClickBlock;
@property (nonatomic, copy) MultipleChoiceSelectButtonClickBlock multipleChoiceSelectButtonClickBlock;
@property (nonatomic, copy) ZhanKaiReloadIndexPathCellBlock zhanKaiReloadIndexPathCellBlock;
@property (nonatomic, copy) ShouQiReloadIndexPathCellBlock shouQiReloadIndexPathCellBlock;
@property (nonatomic, strong) UIButton *moreButton;                         // 更多按钮
@property (nonatomic, strong) NSString *yiXuanValue;                        // 用作判断
@property (nonatomic, strong) NSString *multipleChoiceYiXuanValue;          // 用作判断

#pragma mark 返回每个Cell的高度
- (CGFloat)getCellHeightWithShaiXuanTiaoJianCommonModelDictionary:(NSDictionary *)shaiXuanTiaoJianCommonModelDictionary;

@end
